package com.jrzh.mvc.service.sys;

import java.util.Map;

import com.jrzh.common.exception.ProjectException;
import com.jrzh.framework.base.service.BaseServiceI;
import com.jrzh.mvc.model.sys.I18nModel;
import com.jrzh.mvc.search.sys.I18nSearch;
import com.jrzh.mvc.view.sys.I18nView;

public interface I18nServiceI extends BaseServiceI<I18nModel, I18nSearch, I18nView>{
	
	void initCache() throws ProjectException;
	
	String getValue(String code, String language) throws ProjectException;
	
	void refreshCache(String code, I18nView value) throws ProjectException;
	
	void saveInit(String project) throws ProjectException;
	
	Map<String, String> getData(String lan) throws ProjectException;
}
